<template>
  <div>x: {{ mouse.x }} , y: {{ mouse.y }}</div>
  <div>
    数据count:{{ count }}
    <button @click="add">修改数据</button>
  </div>
</template>

<script setup>
import {useMouse} from './hooks/useMouse'
import {useAdd} from './hooks/useAdd'
const mouse =useMouse()
const {count ,add}=useAdd()
</script>